﻿using System;

using Fuse8.DomainFramework.Domain;
using Fuse8.DomainFramework.BusinessService;

namespace Fuse8.ContentManagementFramework.Domain.Generated
{
    [Serializable]
    public partial class CmsEntityRevision : Int32EntityObject, IRevisionableEntityObject
    {
        #region Property
        
        public int EntityId { get; set; }

        public string EntityTypeParameter { get; set; }

        public bool? IsLatestRevision { get; set; }

        public bool? IsLatestCompletedRevision { get; set; }        

        public bool? IsDeleted { get; set; }

        public int WorkflowId { get; set; }

        #endregion

        #region Constructor

        public CmsEntityRevision()
        { }

        #endregion

        #region EntityObject override

        public override string TypeParameter
        {
            get
            {
                return "EntityRevision";
            }
        }

        #endregion
    }
}
